﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage2.master" AutoEventWireup="true" CodeFile="ShowList.aspx.cs" Inherits="Agency_ShowList" Title="Untitled Page" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Agency" Runat="Server">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td width="4">
                <img src="../images/intro_left.gif" width="4" height="34"></td>
            <td class="intro_wordbg">
                公示列表</td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34"></td>
        </tr>
    </table>
    <table  id="tabData" width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td style="height: 24px">
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp;
               </td>
            <td style="height: 24px">
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                </td>
            <td style="height: 24px">
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>
            <td style="height: 24px">
                <a target="_blank" href="ShowAdd.aspx?ProjectId=<%=PRJ %>">添加公示</a></td>
            <td>
                <input type="submit" name="btnSubmit" value="删除" class="button_bg" onclick="javascript:return confirm('确定真的要删除吗？？？？ ');"
                    id="Submit1" /></td>
        </tr>
    </table>
    <asp:DataList ID="DlShow" runat="server" Width="99%" CssClass='table_table' HeaderStyle-CssClass='table_title'>
        <ItemStyle CssClass="table_td" />
        <AlternatingItemStyle CssClass="table_td2" />
        <HeaderTemplate>
            <table width="98%">
                <tr>
                    <td align="center" width="55%">
                        公示标题</td>
                    <td align="center" width="32%">
                        公示类型</td>
                    <td align="center" width="10%">
                        删除</td>
                </tr>
            </table>
        </HeaderTemplate>
        <ItemTemplate>
            <table width="98%">
                <tr>
                    <td width="55%" align="left">                       
                            <%# DataBinder.Eval(Container.DataItem, "ShowName")%>                        
                    </td>
                    <td width="32%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "ShowSort")%>
                    </td>
                    <td width="10%" align="center">
                        <input name="chk" type="checkbox" value='<%# DataBinder.Eval(Container.DataItem, "ID")%>'>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
        <HeaderStyle CssClass="table_title" />
    </asp:DataList>
    <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
</asp:Content>

